/* is = 类型保护 */
function isIPerson(obj: IPerson | IProduct): obj is IPerson {
    return (obj as IPerson).age !== undefined;
}